<div id="corps">
	<br/>
	<div class="boite_filtres" id='zone_filtre'>
		<div class="boite_filtres_haut">
			<div></div>
		</div>
		<div class="boite_filtres_contenu" >
			<form>
				<table>
					<tr>
						<?php
						
						if(isset($_GET['nbInfoPage'])) $nbInfoPage=$_GET['nbInfoPage'] ;
								else $nbInfoPage = 50;

						
						//Récupération des impulseurs
						//Connexion à la BDD
						include ("../commun_shop/utils/settings_bdd_shop.php");
						mysql_connect($host_bd, $id_bd , $mdp_bd);
						mysql_select_db("vanadium");mysql_query("SET NAMES 'UTF8'");
							
						$nbr_entrees = mysql_query("SELECT COUNT(*) FROM historique WHERE impulseur ='$shop'") or die(mysql_error()) ;
						$nbr_entrees = mysql_fetch_array($nbr_entrees);
						//Fermeture de la connexion
						mysql_close();
						echo "
							<td>Page</td>
							<td>
							<select name='page'>
							";
							for ($i = 1; $i <= ($nbr_entrees[0]/$nbInfoPage)+1; $i++)
							{
								echo "<option VALUE='$i'>".$i."</option>";
							}
							?>
									
									</select>
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div class="boite_filtres_bas">
			<div></div>
		</div>
	</div>
	<div id="tableau_historique">
		
	</div>
	
<form action="historique.php">	nombre de lignes par page : <input id="nbInfoPage" name="nbInfoPage" type="text" value="<?php echo $nbInfoPage; ?>" /><input type="submit" /> </form>

</div>
